# coding: utf-8
from flask_sqlalchemy import SQLAlchemy


db = SQLAlchemy()



class CareInfo(db.Model):
    __tablename__ = 'care_info'

    AutoID = db.Column(db.BigInteger, primary_key=True, info='主键自增')
    UserID = db.Column(db.String(100))
    CareUserID = db.Column(db.String(100), info='被关注的用户ID')
    CreateTime = db.Column(db.DateTime, server_default=db.FetchedValue())
    IsDelete = db.Column(db.Integer, server_default=db.FetchedValue(), info='0-正常，1-删除')
